using System;
using FytSoa.Common.Utils;
using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace FytSoa.Application.Crm;

/// <summary>
/// 工单日志表
/// </summary>
public class CrmWocLogDto : AppEntity
{
    /// <summary>
    /// 工单编号
    /// </summary>
    [Required]
    public long OrderId { get; set; }

    /// <summary>
    /// 人员编号
    /// </summary>
    [Required]
    public long EmployeeId { get; set; }

    /// <summary>
    /// 工单状态（1=创建工单2=修改工单3=流转工单4=接受工单5=审核工单6=驳回工单7=审核通过已完成8=关闭工单9=更新处理限时）
    /// </summary>
    [Required]
    public int Status { get; set; } = 1;

    /// <summary>
    /// 信息
    /// </summary>
    public string Remark { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreateUser { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    [Required]
    public DateTime CreateTime { get; set; } = DateTime.Now;


}